package com.yami.shop.vo.message.message;
import com.yami.shop.vo.advice.AdviceTxtVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class GroupStatusMessageVo implements Serializable {

    @NotEmpty(message = "发送人id不能为空")
    @Schema(description = "发送人id", required = true)
    private String senderId;
    @NotEmpty(message = "接收群ids不能为空")
    @Schema(description = "接收群ids", required = true)
    private List<String> groupIds;

    @Schema(description = "是否过滤发送人黑名单列表，0 表示为不过滤、 1 表示为过滤，默认为 0 不过滤")
    private Integer verifyBlacklist;

    @Schema(description = "发送用户自己是否接收消息，0 表示为不接收，1 表示为接收，默认为 0 不接收")
    private Integer isIncludeSender;

    @Schema(description = "消息内容")
    private AdviceTxtVo content;
}
